﻿Public Class Task_1_Add
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    End Sub

    Protected Sub btncal_Click(sender As Object, e As EventArgs) Handles btncal.Click
        Dim firstNo As Integer
        Dim SecNo As Integer

        firstNo = CInt(tbaddno1.Text)
        SecNo = CInt(tbaddno2.Text)

        lbAnswer.Text = firstNo + SecNo

    End Sub
End Class